package com.ruibang.glass.equipment.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.equipment.domain.req.DeviceChildReq;
import com.ruibang.glass.equipment.dto.DeviceAllChildDTO;
import com.ruibang.glass.equipment.entity.device.DeviceChild;

import java.util.List;


/**
 * <p>
 * 设备子层级服务类
 * </p>
 *
 * @author mameng
 * @since 2024-03-20
 */
public interface DeviceChildService extends IService<DeviceChild> {

    /**
     * 获取子设备集合 集合
     * @param deviceChild
     * @return
     */
    DeviceAllChildDTO getChildList(DeviceChild deviceChild);
    /**
     * 获取子设备集合 集合
     * @param childReq
     * @return
     */
    List<DeviceChild> getNewChildList(DeviceChildReq childReq);
    /**
     * 新增
     * @param deviceChild
     * @return
     */
    void addDeviceChild(DeviceChild deviceChild);



}
